package com.wn.class30.mapper;

import com.wn.class30.entity.Systemmenu;
import com.wn.class30.entity.SystemmenuExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SystemmenuDao {
    long countByExample(SystemmenuExample example);

    int deleteByExample(SystemmenuExample example);

    int deleteByPrimaryKey(Integer menuId);

    int insert(Systemmenu record);

    int insertSelective(Systemmenu record);

    List<Systemmenu> selectByExample(SystemmenuExample example);

    Systemmenu selectByPrimaryKey(Integer menuId);

    int updateByExampleSelective(@Param("record") Systemmenu record, @Param("example") SystemmenuExample example);

    int updateByExample(@Param("record") Systemmenu record, @Param("example") SystemmenuExample example);

    int updateByPrimaryKeySelective(Systemmenu record);

    int updateByPrimaryKey(Systemmenu record);

    List<Systemmenu> selectRolePermissionsByUser(Integer adminUserId);
}